<?php
class Epic_Form_Decorator_Helper extends Epic_Form_Decorator_Abstract
{
    /**
     * Return the element has been decorated
     *
     * @return string
     */
    public function render()
    {
        switch ($this->getPlacement()) {
            case self::APPEND:
                return $this->getText() . $this->getContentElement();
            case self::PREPEND:
                return $this->getContentElement() . $this->getText();
        }
    }
}